package org.example.auth.mapper;



import com.example.model.auth.dto.UserDTO;
import com.example.model.auth.dto.UserLoginDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CustomerMapper {



    @Select("select * from sm.customer where username=#{account} and password=#{password}")
    UserDTO getUserByPasswordAndUsername(UserLoginDTO userLoginDTO);
}
